﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Contact.aspx.cs" Inherits="lien_he" %>

<%@ Import Namespace="BLL" %>
<%@ Register Src="UserControls/Header.ascx" TagName="Header" TagPrefix="uc1" %>
<%@ Register Src="UserControls/MainNav.ascx" TagName="MainNav" TagPrefix="uc2" %>
<%@ Register Src="UserControls/SlideOto.ascx" TagName="SlideOto" TagPrefix="uc3" %>
<%@ Register Src="UserControls/CategoryOto.ascx" TagName="CategoryOto" TagPrefix="uc4" %>
<%@ Register Src="UserControls/Category.ascx" TagName="Category" TagPrefix="uc5" %>
<%@ Register Src="UserControls/LeftBar.ascx" TagName="LeftBar" TagPrefix="uc6" %>
<%@ Register Src="UserControls/Footer.ascx" TagName="Footer" TagPrefix="uc7" %>
<%@ Register Src="UserControls/RightBar.ascx" TagName="RightBar" TagPrefix="uc8" %>
<%@ Register src="UserControls/Contact.ascx" tagname="Contact" tagprefix="uc9" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Trang chủ</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="/Styles/style.css" type="text/css" media="screen" charset="utf-8" />
    <link rel="stylesheet" href="/Styles/nivo-slider.css" type="text/css" />
    <link rel="stylesheet" href="/Styles/nivo-style.css" type="text/css" />
    <script type="text/javascript" charset="utf-8" src="/Scripts/dropdown.js"></script>
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
    <script type="text/javascript" src="/Scripts/jquery.nivo.slider.pack.js"></script>
    <script type="text/javascript" src="/Scripts/jquery.jcarousel.min.js"></script>
    <!-- Gallery Viewer -->
    <link href="/Styles/jquery.galleryview-3.0-dev.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
    <script src="/Scripts/jquery.timers-1.2.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.easing.1.3.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.galleryview-3.0-dev.js" type="text/javascript"></script>
    <!-- End Gallery Viewer -->
    <script type="text/javascript" language="javascript" src="/Scripts/jquery.carouFredSel-2.1.3.js"></script>
    <script type="text/javascript">
            $(window).load(function() {
                $('.nivoSlider').nivoSlider({
                    effect: 'random',
                    slices:8,
                    animSpeed:900, 
                    pauseTime:3000,
                    startSlide:0, 
                    directionNav:false, 
                });
				
				
            });

            function LoadAjax() {
                //var isEnbles = $('.now').text();
                var isEnbles = $(this).val();
                $('#loading').html("<p>Vui lòng chờ <img src='/Images/loading.gif'/></p>").fadeIn('fast');
                alert(isEnbles);
                $.ajax({
                    type: "POST",
                    url: "/Home.aspx/LoadControl",
                    data: "{ type:"  + isEnbles + "}",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function (msg) {
                        //alert("thanhcong");
                        //alert(JSON.stringify(msg));
                        $('#loading').fadeOut('fast');
                        $("#loadchird").html(msg.d);
                    },
                    error: function (e, i) {
                    alert(JSON.stringify(msg));
                    }
                });

            }

        $(function(){
				$('#myGallery').galleryView();
			});
			
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="contener">
        <div id="wrapper">
            <div id="header">
                <uc1:Header ID="Header1" runat="server" />
            </div>
            <!--End #header-->
            <div id="border">
                <div id="content">
                    <div id="mainNav">
                        <uc2:MainNav ID="MainNav1" runat="server" />
                    </div>
                    <!--End #mainNav-->
                    <div class="itemContent">
                        <div class="gallery">
                            <uc3:SlideOto ID="SlideOto1" runat="server" />
                        </div>
                        <!--End .gallery-->
                        <div class="newsItem">
                            <uc4:CategoryOto ID="CategoryOto1" runat="server" />
                        </div>
                        <!--End .newsItem-->
                    </div>
                    <!--End .itemContent-->
                    <div class="clear">
                    </div>
                    <div id="noidung">
                        <div id="primary-left">
                            <div id="tuvan">
                                <div id="headding">
								<ul>
									<li>Liên hệ</li>
								</ul>
                                <%
                                    ConfigBLL data = new ConfigBLL();
                                    string contact = HttpUtility.HtmlDecode(data.GetDefautl().Contact);
                                    %>
                                        <div style="padding: 10px 10px 0px 10px;font-size: 1.2em; color: #2C2C2C;">
                                            <%=contact %>
                                        </div>
                                    <%
                                 %>
                                <div id="lienhe" style="padding: 10px; ">
                                
                                    <uc9:Contact ID="Contact1" runat="server" />
                                
                                </div>
							</div><!--End #headding-->
                            </div>
                            <!--End #tuvan-->
                            <div id="right">
                                <uc6:LeftBar ID="LeftBar1" runat="server" />
                            </div>
                            <!--End #right-->
                        </div>
                        <!--End #primary-->
                        <div id="primary-right">
                            <uc8:RightBar ID="RightBar1" runat="server" />
                        </div>
                        <!--End #primary-right-->
                    </div>
                </div>
                <!--End #content-->
            </div>
            <!--End #border-->
            <div class="clear">
            </div>
            <div id="footer">
                <uc7:Footer ID="Footer1" runat="server" />
            </div>
            <!--End #footer-->
        </div>
        <!--End #wrapper-->
    </div>
    </form>
</body>
</html>
